package com.goldwind.accompany.service;

import com.goldwind.pojo.AccompanyService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Accompany {
    /*总查询*/
    List<AccompanyService> selectAll();

    /*多条件查询*/
    List<AccompanyService> selectByConditions(
             String gameType,
             String serviceType,
             Double minPrice,
             Double maxPrice,
             String keyword,
             Integer status,
             Integer userID
    );

    /*上传*/
    boolean insert(AccompanyService service);

    /*更新修改*/
    boolean update(AccompanyService service);

    /*根据id删除*/
    boolean delete(int id);
}
